﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IMDTO
{
    public class IMDTONaturalPersonShort
    {
        public int idNaturalPerson { get; set; }
        public String FirstName { get; set; }
        public String LastName { get; set; }
        public bool HasPP { get; set; }

        public IMDTONaturalPersonShort() { }

        public IMDTONaturalPersonShort(NaturalPerson np)
        {
            this.idNaturalPerson = np.idNaturalPerson;
            this.FirstName = np.Name.FirstName;
            this.LastName = np.Name.LastName;
            this.HasPP = (np.PersoonPlan.Count > 0);
        }
    }
}
